﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Service
{
    using Model;

    public interface ITodoService
    {
        Todo Insert(Todo entity);

        IQueryable<Todo> All();

        void Delete(int todoId);

        void Update(Todo entity);
    }
}
